local function costume_repair(costume)
    minetest.register_craft({
        type = "shapeless",
        output = costume,
        recipe = {
            "farming:string",
            costume
        }
    })
end

costume_repair("halloween_holiday_pack:suit_dark_unicorn")
costume_repair("halloween_holiday_pack:suit_dino")
costume_repair("halloween_holiday_pack:suit_frank")
costume_repair("halloween_holiday_pack:suit_ghost")
costume_repair("halloween_holiday_pack:suit_reaper")
costume_repair("halloween_holiday_pack:suit_harry")
costume_repair("halloween_holiday_pack:suit_killer")
costume_repair("halloween_holiday_pack:suit_skeleton")
costume_repair("halloween_holiday_pack:suit_dino_pink")
costume_repair("halloween_holiday_pack:suit_pumpkin")
costume_repair("halloween_holiday_pack:suit_totoro")
costume_repair("halloween_holiday_pack:suit_unicorn")
costume_repair("halloween_holiday_pack:suit_vampire")
costume_repair("halloween_holiday_pack:suit_wearwolf")
costume_repair("halloween_holiday_pack:mask_pumpkin")
costume_repair("halloween_holiday_pack:shirt_halloween_hoodie")
costume_repair("halloween_holiday_pack:mask_cat")